<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" />
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta name="Generator" content="{$ts['site']['site_name']}"/>
<meta http-equiv="X-UA-Compatible" content="IE=7"/>
<meta name="keywords" content="{$ts['site']['site_header_keywords']}" />
<meta name="description" content="{$ts['site']['site_header_description']}" />
<meta name="pagename" content="category"/>

<link rel="shortcut icon" href="__PUBLIC__/Images/global/favicon.gif" />


<title>{$ts['site']['site_name']} - {$ts['site']['site_slogan']}</title>

<!-- 处理ie6下png透明 -->
<!--[if lte IE 6]>
<style type="text/css">
img, div , .pngfix , dd , dt ,li ,span { behavior: url('<php>echo SITE_URL;</php>__PUBLIC__/Js/iepngfix/iepngfix.htc'); }
</style>
<script type="text/javascript" src="__PUBLIC__/Js/iepngfix/iepngfix_tilebg.js"></script>
 <script type="text/javascript">
 //<![CDATA[
 if (document.all && /MSIE (5\.5|6)/.test(navigator.userAgent) &&
  document.styleSheets && document.styleSheets[0] && document.styleSheets[0].addRule)
 {
  document.styleSheets[0].addRule('*', 'behavior: url("<php>echo SITE_URL;</php>__PUBLIC__/Js/iepngfix/iepngfix.htc")' );
 }
 //]]>
 </script>
<![endif]-->

<!--  link href="__PUBLIC__/Css/header.css" rel="stylesheet" type="text/css"  / -->
<link href="__PUBLIC__/Css/global.css" rel="stylesheet" type="text/css">

<link href="__PUBLIC__/Css/layout.css" rel="stylesheet" type="text/css"  />
<link href="__PUBLIC__/Css/public.css" rel="stylesheet" type="text/css"  />
<link href="__PUBLIC__/Js/tbox/box_red.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
	var KURLDATA = {
			changeverify : "{:U('Index://Public/verify')}"
	};
	var quickloginpath	=	'/Index/index.php/Public/login/ajx_login/yes';
</script>
<!-- 核心JS加载 -->
<script type="text/javascript" src="__PUBLIC__/Js/jquery.js"></script>
<script type="text/javascript" src="__PUBLIC__/Js/common.js"></script>
<script type="text/javascript" src="__PUBLIC__/Js/tbox/box.js"></script>
<script type="text/javascript" src="__PUBLIC__/Js/kim.base.util.js"></script>
<script type="text/javascript" src="__PUBLIC__/Js/rcalendar.js" ></script>

<script type="text/javascript" src="__PUBLIC__/Js/scrolltopcontrol.js"></script>
<!--  script type="text/javascript" src="__PUBLIC__/Js/jquery.jgrow.min.js"></script -->
<script type="text/javascript" src="__PUBLIC__/Js/plugin.js"></script>
<script type="text/javascript">
	var K_MOBILE_CHECK_EXP = {:C('MOBILE_CHECK_EXP')};

	/**
	*	选择区域
	*	参数：typevalue 以 “,”分割区域id
	**/
	function k_selectArea(typevalue){
		//var typevalue = $("#current").val();
		//alert('&selected='+typevalue);
		//ui.box.load("{:U('Index://Public/area',array('selected'=>''))}"+typevalue,{title:'选择城市'});
		k_show("{:U('Index://Public/area')}",{selected:typevalue},'选择城市');
	}
	
	function resendCoupon(url_,data_){
		k_loading('发送中...','重新发送');
		$.kajax({      
			ajx_rtn_type:'JSON',
			url:url_,      
			type:'post', //数据发送方式  
			data:data_ ,    
			async: false ,//同步方式     
			success: function(ojson){ 
						ui.box.close();
						if(ojson.status==1){
							k_success(ojson.msg);
						}else{
							k_error(ojson.msg);
						}
			}
		});
	}
	/**法送邮件给对方**/
	function sendHeEmail(_this,coll_inform_sendname){
		ui.confirm(_this,'填写TA的邮箱地址<br>我们将发送邮件通知他你希望TA购买这款礼品。'
							+'<br>姓名：<input type=\'text\' title=\'邮件中显示的发件人姓名\' value=\''+coll_inform_sendname+'\' '
									+'class=\'do_input s_input\'  style=\'width:180px;height: 20px; font-size: 12px;line-height: 20px;\' id=\'coll_inform_sendname\'/>'
							+'<br>邮箱：<input type=\'text\' title=\'接收者邮箱地址\' '
									+'class=\'do_input s_input\'  style=\'width:180px;height: 20px; font-size: 12px;line-height: 20px;\' id=\'coll_inform_email\'/>');
	}
	
	$(document).ready(function(){
 		resizeFull();
 		window.onload=resizeFull;
 		window.onresize=resizeFull;
 	});
</script>


<link href="__PUBLIC__/Css/plugin.css" rel="stylesheet" type="text/css"  />

</head>
<php>//dump($_COOKIE);
//$cookieId = explode( '.', base64_decode(C('COOKIE_FLAG_USER')) );
//dump($cookieId);
</php>
<php>
if(APP_NAME=='plugin'&& MODULE_NAME=='index'){
	$_HRADER_MODULE_FLAG = 'INDEX';
}
if(APP_NAME=='plugin'&& MODULE_NAME=='order'){
	$_HRADER_MODULE_FLAG = 'ORDER';
}
if(APP_NAME=='plugin'&& MODULE_NAME=='help'){
	$_HRADER_MODULE_FLAG = 'HELP';
}
if(APP_NAME=='plugin'&& MODULE_NAME=='gift'){
	$_HRADER_MODULE_FLAG = 'GIFT';
}
$_ARY_HRADER_NAV_DICT = array(
							'INDEX' => "如何送礼？",
							'GIFT' => "礼品中心",
							'ORDER' => "订单查询",
							'COUPON' => "心意券查询",
							'HELP' => "帮助"
							);
</php>

<body scroll='no'>
<div class="container">
<!---导航--->
	<div style="width:auto;padding:5px;line-height:30px;">
	    <span class="right" >
	    	<a href="{:U('plugin://index/index')}"  
	    		class="<php>if($_HRADER_MODULE_FLAG == 'INDEX'){</php>clected<php>}</php>" >{$_ARY_HRADER_NAV_DICT['INDEX']}</a>
	    	&nbsp;|&nbsp;
			<a href="{:U('plugin://gift/index')}"  
				class="<php>if($_HRADER_MODULE_FLAG == 'GIFT'){</php>clected<php>}</php>" >{$_ARY_HRADER_NAV_DICT['GIFT']}</a>
			&nbsp;|&nbsp;
			<a href="{:U('plugin://order/search')}"  
				class="<php>if($_HRADER_MODULE_FLAG == 'ORDER'){</php>clected<php>}</php>" >{$_ARY_HRADER_NAV_DICT['ORDER']}</a>
			&nbsp;|&nbsp;
			<a href="{:U('plugin://coupon/index')}"  
				class="<php>if($_HRADER_MODULE_FLAG == 'COUPON'){</php>clected<php>}</php>" >{$_ARY_HRADER_NAV_DICT['COUPON']}</a>
			&nbsp;|&nbsp;
			<a href="{:U('plugin://index/help')}"  
				class="<php>if($_HRADER_MODULE_FLAG == 'HELP'){</php>clected<php>}</php>" >{$_ARY_HRADER_NAV_DICT['HELP']}</a>
	    	&nbsp;&nbsp;
	    </span>
	    <span class="left" style="font-size:14px;font-weight:bold;">
	    	<img src="__PUBLIC__/Images/plugin/plugin-logo.jpg" alt="" style="width:25px;"/>&nbsp;小心意即时送礼</span>
	    <span style="font-size: 8pt;
    padding-left: 15px;
    position: relative;display:none;
    top: 2px;">{$user['agent']['title']}与小心意联合推出</span>
	    <div class="clear"></div>
	</div>
	<div class="blank5"></div>


	<div class="g_plugin" id="g_plugin">



